package customerEnter.Frame.JDBCDao.UseQuery;

import org.springframework.jdbc.support.rowset.SqlRowSet;

import customerEnter.Frame.DaoDataTransmission.DaoFramePameTransmission;
import customerEnter.Frame.JDBCDao.Interface.DaoFrameUseTypeInterface;

public class DaoFrameUseTypeintImpl implements DaoFrameUseTypeInterface<Integer> {

	public <T, K> Integer useDaoFrameDataType(DaoFramePameTransmission<T, K> daoFramePameTransmission) {
		SqlRowSet sqlRowSet = daoFramePameTransmission.sqlRowSet;
		Integer integer = 0;
		while (sqlRowSet.next()) {
			integer = sqlRowSet.getInt(1);
			break;
		}
		return integer;
	}

}
